package com.jwdf.uda.ui.activity.view;

import android.view.View;

import com.jwdf.uda.bean.PbBean;
import com.jwdf.uda.ui.adapter.item.QuizDetailItem;

import java.util.List;

/**
 * Created by Administrator on 2016/9/5.
 */
public interface IQuizDetailView extends IAView {
    void setPullLoadEnable(boolean enable);
    QuizDetailItem.QuizTab getCurrentTab();
    void setCurrentTab(QuizDetailItem.QuizTab tab);
    void showBottomView(int answerId, int voteCount);
    void showTabSortMenu(View anchor);
    boolean titleMenuEnabled();
    void showDetailData(PbBean.PbResQuestionFindQuestion body);
    int getAdapterCount();
    void onQuizShare();
    void onQuizEdit();
    void onQuizReport();
    void showDelQuizConfirmDialog();
    void showVoteConfirmDialog(final PbBean.PbSignBaseVoteOptionType optionId);
    void showReVoteConfirmDialog(final PbBean.PbSignBaseVoteOptionType optionId);
    void refreshComments(List<PbBean.PbBaseQuestionAnswer> comments, int commentCount);
    void loadMoreComments(List<PbBean.PbBaseQuestionAnswer> comments);
    void refreshVotes(PbBean.PbResQuestionVoteInfo  voteList);
    void loadMoreVotes(List<PbBean.PbBaseVoterInfo> voters);
    void showUserTakeVote(int voteOptionCount);
    int getCommentOffset();
    int getVoteOffset();
    String getQuizTitle();
    void setTitleTabData(QuizDetailItem item);
}
